package org.bigjava.novelplatform.common.constant;

import cn.hutool.core.io.FileUtil;

/**
 * 复杂常量
 *
 * @author ykh
 * @create 2022-04-04 22:01
 */
public class ComplexConstant {
    /**
     * 默认资源文件夹
     */
    public static final String RESOURCE_PATH;

    static {
//        String userName = System.getProperty("user.name");
//        RESOURCE_PATH = "C:/Users/" + userName + "/Desktop/resource/";

        RESOURCE_PATH = FileUtil.getUserHomePath() + "\\Desktop\\resource\\";
    }
}
